<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">
    
    <body>
        
        <ui:composition template="./../single-column-template.xhtml">
            
            <ui:define name="titulo">
               Login
            </ui:define>
            <ui:define name="contenido">
                <h2 class="label label-green">Conectarse al sistema</h2>
                    <br/>
                    <f:view>
                        <form style="padding: 20px; background-color: #F9F9F9;border-top: 2px solid #DDD;" action="j_security_check"  >
                            <div>
                                <div style="float: left;width: 100px" ><h:outputLabel value="Usuario" for="j_username"/></div>
                               
                                <h:inputText size="15" id="j_username"  styleClass="text"/>
                                <br />
                                <div style="float: left;width: 100px"><h:outputLabel value="Contraseña" for="j_password"/></div>
                               
                                <h:inputSecret  size="15" id="j_password"  styleClass="text"/>
                                <br />
                                <h:commandButton type="submit" value="conectarse"  id="login"  styleClass="button"/>
                           </div>
                        </form>
                    </f:view>
            </ui:define>
        </ui:composition>
    </body>
</html>
